Remove remaining GtkButtonBox deprecated stuff
authorJavier Jardón <javierjc1982@gmail.com>
Sat, 10 Oct 2009 17:38:23 +0000 (19:38 +0200)
committerJavier Jardón <jjardon@gnome.org>
Sun, 2 May 2010 23:49:40 +0000 (01:49 +0200)
This completes commit b1b986cc604bffd924a13fbcb180dd234a0b8d14

docs/reference/gtk/gtk-sections.txt
docs/tutorial/gtk-tut.sgml
examples/buttonbox/buttonbox.c
gtk/gtk.symbols
tests/testgtk.c

index 7bc09181394a025b5e0b6fec72014af69cfa5242..54ead84b063714282b28d2ca4a9a2cef1272940b 100644 (file)
@@ -422,15 +422,9 @@ gtk_aspect_frame_get_type
 <TITLE>GtkButtonBox</TITLE>
 GtkButtonBox
 GTK_BUTTONBOX_DEFAULT
-gtk_button_box_get_spacing
 gtk_button_box_get_layout
-gtk_button_box_get_child_size
-gtk_button_box_get_child_ipadding
 gtk_button_box_get_child_secondary
-gtk_button_box_set_spacing
 gtk_button_box_set_layout
-gtk_button_box_set_child_size
-gtk_button_box_set_child_ipadding
 gtk_button_box_set_child_secondary
 <SUBSECTION Standard>
 GTK_BUTTON_BOX
index d140cd0d926921be48f8e9926dd4e16419a3305c..11407be476a60287b654b9b432369ca072cae0f2 100755 (executable)
@@ -7328,7 +7328,6 @@ static GtkWidget *create_bbox( gint  horizontal,
   /* Set the appearance of the Button Box */
   gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
   gtk_box_set_spacing (GTK_BOX (bbox), spacing);
-  /*gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);*/
 
   button = gtk_button_new_from_stock (GTK_STOCK_OK);
   gtk_container_add (GTK_CONTAINER (bbox), button);
index d48bbfa5dcffc64980f1d01756cd6e0f96ae2521..1809154d8d4cac450387c9964c875480ca2c2112 100644 (file)
@@ -26,7 +26,6 @@ static GtkWidget *create_bbox( gint  horizontal,
   /* Set the appearance of the Button Box */
   gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
   gtk_box_set_spacing (GTK_BOX (bbox), spacing);
-  /*gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);*/
 
   button = gtk_button_new_from_stock (GTK_STOCK_OK);
   gtk_container_add (GTK_CONTAINER (bbox), button);
index fd95dd561074fca4a6c8a04f331e39fc5f059bc6..943455bcf1b530d0ec2d40ffb3a7858bfbd791ae 100644 (file)
@@ -493,12 +493,6 @@ gtk_builder_value_from_string_type
 
 #if IN_HEADER(__GTK_BUTTON_BOX_H__)
 #if IN_FILE(__GTK_BUTTON_BOX_C__)
-#ifndef GTK_DISABLE_DEPRECATED
-gtk_button_box_set_child_size
-gtk_button_box_set_child_ipadding
-gtk_button_box_get_child_ipadding
-gtk_button_box_get_child_size
-#endif
 gtk_button_box_get_child_secondary
 gtk_button_box_get_layout
 gtk_button_box_get_type G_GNUC_CONST
index bfe57340b7e4dd8fda5c10bd10a84be95e243e23..59e3eb174b4279ac8e443c03cedb238bb831a707 100644 (file)
@@ -1232,7 +1232,10 @@ create_bbox (gint  horizontal,
 
   gtk_button_box_set_layout (GTK_BUTTON_BOX (bbox), layout);
   gtk_box_set_spacing (GTK_BOX (bbox), spacing);
-  gtk_button_box_set_child_size (GTK_BUTTON_BOX (bbox), child_w, child_h);
+  g_object_set (bbox,
+                "child-min-width", child_w,
+                "child-min-height", child_h,
+                NULL);
   
   button = gtk_button_new_with_label ("OK");
   gtk_container_add (GTK_CONTAINER (bbox), button);